<% if params.include?(:offset) %>
  <%= list_paginate_update(params[:list_id], @notifications || [], 'notification_list_content') %>
<% else %>
  $j("#notification_list").html("<%= escape_javascript(render('notification_list')) %>");
  replace_state("<%= request.url %>");
<% end %>
